package com.yunxin.core.customer.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class RiskGetByUserDTO {

    @Schema(description = "客户姓名")
    @NotBlank(message = "客户姓名不能为空")
    private String userName;
    @Schema(description = "客户身份证号")
    @NotBlank(message = "客户身份证号不能为空")
    private String idNumber;
    @Schema(description = "客户手机号")
    @NotBlank(message = "客户手机号不能为空")
    private String phoneNumber;

    @Schema(hidden = true)
    private Long createUserId;
}
